package com.sloera.nowcoder;

import java.util.Scanner;

/**
 * class com.sloera.nowcoder
 * user sloera
 * date 2022/2/21
 */
public class HJ31 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        final String s = in.nextLine();
        String source = "I am a student";
        final String[] split = source.split("[^a-zA-Z]+");
        for (int i = split.length - 1; i >= 0; i--) {
            System.out.print(split[i]);
            if (i != 0) {
                System.out.print(" ");
            }
        }
    }
}
